package com.april.pattern.structural.composite;

/**
 * @author April
 * @version V1.0.0
 * @date 2019/07/04 16:46
 * @description
 */
public class ImageFileImpl extends AbstractFileCombination {
    private String name;

    public ImageFileImpl(String name) {
        this.name = name;
    }

    @Override
    public void killVirus() {
        System.out.println("图像文件：" + name + "，进行查杀！");
    }
}
